<template>
	<view class="comter_box">
		<!-- storage -->
	<image style="
	width: 250rpx;
	height: 250rpx;
	margin: 550rpx 250rpx 0;
	" src="../../static/images/fighting.gif" mode=""></image>
	</view>
</template>

<script>
	import {
		saveTimeSandsToParkourVault
	} from '@/api/burn/burn.js';
	export default {
		data() {
			return {
				onshow: false,
				show: false,
				value: 1,
				value1: 1,
			};
		},
		methods: {
			close() {
				this.show = false;
			},
			onclose() {
				this.onshow = false;
			},
			closePopup() {
				this.show = false;
				this.value = 1;
			},
			onclosePopup() {
				this.onshow = false;
				this.value1 = 1;
			},
			async confirmCun() {
				let param = {};
				param.amount = this.value;
				const data = await saveTimeSandsToParkourVault(param);
				// console.log(data, '存入成功');
			},
		}
	};
</script>

<style lang="less" scoped>
	.comter_box {
		padding: 20rpx 35rpx;

		// storage
		.times_box {
			width: 680rpx;
			height: 250rpx;
			border-radius: 14rpx;
			background-color: #cecece;
			padding: 20rpx;

			.storage {
				color: #ffffff;
				font-weight: 400;
				font-size: 28rpx;
				font-family: 'font';
			}

			.number_box {
				width: 530rpx;
				display: flex;
				color: #ffffff;
				font-weight: 400;
				font-size: 28rpx;
				font-family: 'font';
				justify-content: space-between;
			}

			.Expected {
				color: #ffffff;
				font-weight: 400;
				font-size: 28rpx;
				font-family: 'font';
				margin-top: 50rpx;
			}

			.button {
				width: 100rpx;
				height: 47rpx;
				background: #46a6f8;
				box-shadow: 3rpx 3rpx 5rpx 0rpx rgba(0, 0, 0, 0.15);
				border-radius: 7rpx;
				font-size: 28rpx;
				font-family: 'font';
				font-weight: 400;
				color: #ffffff;
				text-align: center;
				line-height: 48rpx;
				margin-top: 5rpx;
			}
		}

		// storage
		// statistics
		.statistics {
			padding: 35rpx 0;

			.statistics_box {
				color: #ffffff;
				margin-left: 10rpx;
				font-weight: 400;
				font-size: 28rpx;
				font-family: 'font';
			}

			.beloved {
				width: 680rpx;
				height: 350rpx;
				border-radius: 14rpx;
				background-color: #cecece;
				margin: 35rpx 0;

				.akpappa {
					color: #ffffff;
					font-weight: 400;
					font-size: 28rpx;
					font-family: 'font';
					padding: 20rpx 0 20rpx 20rpx;
				}
			}
		}

		// statistics
		// introduced
		.introduced {
			width: 680rpx;
			color: #ffffff;
			font-weight: 400;
			font-size: 28rpx;
			font-family: 'font';
		}

		// introduced
		// Bullet frame
		.close {
			//弹框大盒子
			width: 750rpx;
			height: 602rpx;
			background: linear-gradient(180deg, #cdcdcd 0%, #ffffff 100%);
			border-radius: 23rpx 23rpx 0rpx 0rpx;
			opacity: 1;

			.closethree {
				position: absolute;
				right: 24rpx;
				top: 24rpx;
				background: #f7f7f7;
				border-radius: 10rpx;
				padding: 5rpx;
			}

			.iomage_box {
				display: flex;
				padding: 26rpx 34rpx;

				.popopo {
					image {
						width: 148rpx;
						height: 134rpx;
					}
				}
			}

			.box_pop {
				width: 680rpx;
				justify-content: space-between;
				display: flex;
				margin: 0 34rpx;

				.box_price {
					width: 541rpx;
					height: 113rpx;
					background: #ffffff;
					border-radius: 10rpx;
					opacity: 1;
					display: flex;
					padding: 38rpx 30rpx;
					font-size: 28rpx;
					font-family: 'font';
					font-weight: 400;
					color: #3d3d3d;
				}

				// 0..0
				.input_box {
					margin-left: 70rpx;
					margin-top: -10rpx;

					.minus {
						width: 80rpx;
						height: 58rpx;
						background: #f7f7f7;
						border-radius: 10rpx;
						opacity: 1;
						border: 2rpx solid #cdcdcd;
						display: flex;
						justify-content: center;
						align-items: center;
					}

					.input {
						padding: 0 20rpx;
					}

					.plus {
						width: 80rpx;
						height: 58rpx;
						background: #f7f7f7;
						border-radius: 10rpx;
						opacity: 1;
						border: 2rpx solid #cdcdcd;
						display: flex;
						justify-content: center;
						align-items: center;
					}
				}

				// 0..0.
				.price_box {
					width: 113rpx;
					height: 113rpx;
					background: #ffffff;
					border-radius: 10rpx;
					opacity: 1;
					font-size: 28rpx;
					font-family: 'font';
					font-weight: 400;
					color: #3d3d3d;
					line-height: 113rpx;
					text-align: center;
				}
			}

			.button {
				width: 680rpx;
				height: 98rpx;
				// background: #cdcdcd;
				background: #46a6f8;
				border-radius: 10rpx;
				margin: 52rpx 34rpx;
				text-align: center;
				line-height: 98rpx;
				font-size: 28rpx;
				font-family: 'font';
				font-weight: 400;
				color: #ffffff;
			}
		}

		// Bullet frame
	}
</style>